package org.jeecg.modules.demo.drfReviewAssignments.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.drfReviewAssignments.entity.DrfReviewAssignments;
import org.jeecg.modules.demo.drfpapers.entity.DrfPapers;

import java.util.List;

/**
 * @Description: 审核任务表
 * @Author: jeecg-boot
 * @Date:   2025-10-02
 * @Version: V1.0
 */
public interface IDrfReviewAssignmentsService extends IService<DrfReviewAssignments> {

    Integer getNeedReviewCount(String id);

    Integer getWaitingForReviewCount(String id);

    List<String> getNeedReviewPapers(String id);


    Boolean updatePaperStatus(String id, String status, String userId);

    List<DrfPapers> getWaitingForReviewPapers(String userId);

    DrfReviewAssignments getByTeacherId(String userId);


    Boolean updateStatus(String id, String userId,String status);

    int getCountByPaperId(String id);

    boolean getStatusCount(String paperId);

    List<String> getNotAcceptPaper();

    List<DrfReviewAssignments> getByPaperId(String id);
}
